/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "上传档案表",TableName = "Ok3w_Article")]
    public partial class Ok3w_Article:BaseEntity
    {
        /// <summary>
       ///上传文章主键id
       /// </summary>
       [Key]
       [Display(Name ="上传文章主键id")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid ok3w_article_id { get; set; }

        /// <summary>
        ///分类
        /// </summary>
        [Display(Name ="分类")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int ClassID { get; set; }

       /// <summary>
       ///目录短路径
       /// </summary>
       [Display(Name ="目录短路径")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       public string SortPath { get; set; }

       /// <summary>
       ///标题
       /// </summary>
       [Display(Name ="标题")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string Title { get; set; }

       /// <summary>
       ///文章颜色
       /// </summary>
       [Display(Name ="文章颜色")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       public string TitleColor { get; set; }

       /// <summary>
       ///文章路径
       /// </summary>
       [Display(Name ="文章路径")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       public string TitleURL { get; set; }

       /// <summary>
       ///文件
       /// </summary>
       [Display(Name ="文件")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string AttachmentURL { get; set; }

       /// <summary>
       ///详细内容
       /// </summary>
       [Display(Name ="详细内容")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string Content { get; set; }

       /// <summary>
       ///上传人
       /// </summary>
       [Display(Name ="上传人")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       [Editable(true)]
       public string Author { get; set; }

       /// <summary>
       ///上传来自于
       /// </summary>
       [Display(Name ="上传来自于")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       [Editable(true)]
       public string ComeFrom { get; set; }

       /// <summary>
       ///上传时间
       /// </summary>
       [Display(Name ="上传时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? AddTime { get; set; }

       /// <summary>
       ///插入人
       /// </summary>
       [Display(Name ="插入人")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       [Editable(true)]
       public string Inputer { get; set; }

       /// <summary>
       ///图片列表
       /// </summary>
       [Display(Name ="图片列表")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? IsPic { get; set; }

       /// <summary>
       ///文档图片
       /// </summary>
       [Display(Name ="文档图片")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string PicFile { get; set; }

       /// <summary>
       ///是否审核
       /// </summary>
       [Display(Name ="是否审核")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? IsPass { get; set; }

       /// <summary>
       ///是否置顶
       /// </summary>
       [Display(Name ="是否置顶")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? IsTop { get; set; }

       /// <summary>
       ///是否删除
       /// </summary>
       [Display(Name ="是否删除")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? IsDelete { get; set; }

       /// <summary>
       ///是否推荐
       /// </summary>
       [Display(Name ="是否推荐")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? IsCommend { get; set; }

       /// <summary>
       ///是否滚动
       /// </summary>
       [Display(Name ="是否滚动")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? IsMove { get; set; }

       /// <summary>
       ///是否轮播
       /// </summary>
       [Display(Name ="是否轮播")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? IsPlay { get; set; }

       /// <summary>
       ///上传人
       /// </summary>
       [Display(Name ="上传人")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? IsUserAdd { get; set; }

       /// <summary>
       ///作者积分
       /// </summary>
       [Display(Name ="作者积分")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? GiveJifen { get; set; }

       /// <summary>
       ///游客权限
       /// </summary>
       [Display(Name ="游客权限")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? vUserGroupID { get; set; }

       /// <summary>
       ///游客登记
       /// </summary>
       [Display(Name ="游客登记")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? vUserMore { get; set; }

       /// <summary>
       ///游客积分
       /// </summary>
       [Display(Name ="游客积分")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? vUserJifen { get; set; }

       /// <summary>
       ///查看数
       /// </summary>
       [Display(Name ="查看数")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Hits { get; set; }

       /// <summary>
       ///栏目编号 1：软件管理栏，2：相关说明栏
       /// </summary>
       [Display(Name ="栏目编号 1：软件管理栏，2：相关说明栏")]
       [Column(TypeName="int")]
       public int? ChannelID { get; set; }

       /// <summary>
       ///创建人id
       /// </summary>
       [Display(Name ="创建人id")]
       [Column(TypeName="int")]
       public int? CreateID { get; set; }

       /// <summary>
       ///创建人名称
       /// </summary>
       [Display(Name ="创建人名称")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       public string Creator { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       public DateTime? CreateDate { get; set; }

       /// <summary>
       ///修改人id
       /// </summary>
       [Display(Name ="修改人id")]
       [Column(TypeName="int")]
       public int? ModifyID { get; set; }

       /// <summary>
       ///修改人名称
       /// </summary>
       [Display(Name ="修改人名称")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       public string Modifier { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       public DateTime? ModifyDate { get; set; }
    }
}